﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>微街秀 > 上级ID</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" type="text/css" href="css/css.css" />
    <link href="css/ParentID.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="js/ajax-data.js" type="text/javascript"></script>
      <script src="js/base.js" type="text/javascript"></script>
    <script src="js/dialog.js" type="text/javascript"></script>
      <script type="text/javascript">
          $(document).ready(function () {
              try {
                  $(".nicknametext").val(getCookie("parentid"));
              }
              catch (e) { }
              $(".nicksave").click(function () {

                  ajax.UpdateInfo("parent_id=" + $(".nicknametext").val(), function (data) {
                      if (data.msg.toString() == "成功") {
                          Alert("保存成功");
                          SetCookie("parentid", $(".nicknametext").val());
                      }
                      else {
                          Alert(data.msg);
                      }
                  });
              });


          });
     
      </script>
</head>
<body>
    <div>
        <div class="wamtop">
            <div class="topleft" onclick="window.location.href='Set.html'">
             
                    <img src="img/5.jpg" />
            </div>
            <div class="topcententxt">
                上级ID
            </div>
        </div>
        <div class="nickname">
            <input type="text" class="nicknametext" id="nicknametext" />
        </div>
        <div class="pareid">注：请输入上级ID，便可自动获取上级广告图片列表！</div>
        <div class="nicksave">
            <div style="font-size: 16px;  color: White;">
            确定</div>
        </div>
    </div>
</body>
</html>
